//
//  SearchBarView.m
//  WE
//
//  Created by apple on 15/11/20.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "SearchBarView.h"
#import "Size.h"

@implementation SearchBarView


- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.searchBar = [[UISearchBar alloc] initWithFrame:CGRectMake(0, 0, WindowWidth, 40)];
        self.backgroundColor = [UIColor blackColor];
        self.alpha = 0.5;
        
        [self addSubview:self.searchBar];
        
        
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
